<?php

namespace app\index\controller\csmmeet;


use app\common\controller\Frontend;

/**
 * 会员中心
 */
class Frame1 extends Frontend
{
    protected $layout = 'default';
    protected $noNeedLogin = [];
    protected $noNeedRight = ['*'];

    public function index()
    {
        $_nosidenav_ = $this->request->request("_nosidenav_", '0');//1为不显示
        $school_schedule_time = db('school_schedule_time')->where('is_subscribe', '1')->select();

        //$schedule = db('school_class_subject_schedule')->where('date', $applydate)->where('time_id', $beginhour)->find();
        $agreement = config('site.agreement');
        //print_r($agreement);return;
        $this->view->assign('school_schedule_time', $school_schedule_time);
        $this->view->assign('_nosidenav_', $_nosidenav_);
        $this->view->assign('title', '课室预约');
        $this->assignconfig('agreement', $agreement);
        return $this->view->fetch();
    }
}